package com.glink.manage.dto.sip;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author xum
 * @since 2024/12/5
 **/
@ApiModel(value="PTZ3dCommandDTO对象", description="国标级联PTZ控制参数")
@Data
public class PTZ3dCommandDTO extends PtzBaseDTO {

    @NotNull(message = "方框起始点的x坐标 不能为空")
    @ApiModelProperty(value = "方框起始点的x坐标")
    private Integer xTop;

    @NotNull(message = "方框起始点的y坐标 不能为空")
    @ApiModelProperty(value = "方框起始点的y坐标")
    private Integer yTop;

    @NotNull(message = "方框结束点的x坐标 不能为空")
    @ApiModelProperty(value = "方框结束点的x坐标")
    private Integer xBottom;

    @NotNull(message = "方框结束点的y坐标 不能为空")
    @ApiModelProperty(value = "方框结束点的y坐标")
    private Integer yBottom;

    @NotNull(message = "保留 不能为空")
    @ApiModelProperty(value = "保留")
    private Integer bCounter;
}
